package com.jiawa.train.batch.controller;

import com.jiawa.train.batch.feigen.BusinessFeigen;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Resource
    private BusinessFeigen businessFeigen;
    @GetMapping("/hello")
    public String hello() {
        String hello = businessFeigen.hello();
        return hello;
    }
}
